package com.situ.stmall.quartz;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.quartz.SchedulerFactoryBean;

/**
 * 配置Quartz
 * @author bobzyh
 *
 */
@Configuration
public class QuartzConfig {

	@Bean
	public SchedulerFactoryBean scheduler() {
		return new SchedulerFactoryBean();
	}
}
